<template>
    <a-card>
        <a-form-model>
            <a-form-model-item label="姓名">
                <a-input v-model="form.name"></a-input>
            </a-form-model-item>
            <a-form-model-item label="手机号">
                <a-input v-model="form.phone"></a-input>
            </a-form-model-item>
            <a-form-model-item label="标题">
                <a-input v-model="form.title"></a-input>
            </a-form-model-item>
            <a-form-model-item label="内容">
                <Editor editor-type="EditorM"
                        :content-type="contentType"
                        ref="Editor" :params="routeQuery"></Editor>
            </a-form-model-item>
        </a-form-model>
    </a-card>
</template>

<script>
  import Editor from "@/components/xinke/editor/Editor";
  // 访客提交内容库
  export default {
    name: 'ContentForm',
    components:{Editor},
    data(){
      return {
        name:'',
        phone:''
      }
    }
  }
</script>

<style scoped>

</style>
